package cn.ym.ymcc.mapper;

import cn.ym.ymcc.domain.Teacher;
import cn.ym.ymcc.query.TeacherQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 老师表 Mapper 接口
 * </p>
 *
 * @author 210513347@qq.com
 * @since 2023-05-08
 */
public interface TeacherMapper extends BaseMapper<Teacher> {

    List<Teacher> queryData(TeacherQuery query);
    //根据课程id查询对应的老师
    List<Teacher> selectListByCourseId(Long courseId);
}
